Adjusting park labels - #1302
Draft
wmisener wants to merge 4 commits into
Draft
Conversation
Merged
1ec5
reviewed
Nov 20, 2025
| layout: { | ||
| "text-field": Label.localizedName, | ||
| "text-font": ["Americana-Bold"], | ||
| "text-font": ["Americana-Regular"], |
Member
There was a problem hiding this comment.
Currently we’re boldfacing labels of other fills without icons, such as ponds, at high zoom levels, whereas most POIs end up in normal weight because we only label them as points with icons. I think this is a useful treatment to keep. Can we vary the font by zoom level? Note that you’d need to use a literal expression inside each stop of an interpolate or step expression.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It's now been discussed a couple of times on Slack that park labels are too prominent (see #1290), especially at low z levels. This is somewhat exacerbated by the pending addition of Native reservations (#1289), which adds a second label style at low z that makes parks appear too prominent by comparison. This PR explores ways to de-emphasize parks at low z, perhaps by decreasing their font weight:


Current:
This PR:
Care will be needed to make sure the parks stay sufficiently prominent at high z however, maybe by switching back to bold at some zoom level and/or just by increasing the text halo.


Current:
This PR:
This should probably be done in tandem with an attempt to display parks via their rank at low z, as suggested in #1290.